package com.xqboss.apps.domain.synthesis;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.xqboss.apps.domain.BaseTable;
import com.xqboss.apps.enums.synthesis.SynthesisRecordTypeEnum;
import com.xqboss.apps.enums.synthesis.SynthesisTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 合成记录消耗结果记录
 * </p>
 *
 * @author admin
 * @since 2023-11-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="SynthesisRecordConsumeResult对象", description="合成记录消耗结果记录")
public class SynthesisRecordConsumeResult extends BaseTable implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "记录id")
    private Long recordId;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "图片")
    private String imgUrl;

    @ApiModelProperty(value = "其他编号")
    private String otherNo;

    @ApiModelProperty(value = "记录类型[1消耗，2结果]")
    private SynthesisRecordTypeEnum recordType;

    @ApiModelProperty(value = "材料类型[1藏品，2装备，3箱子，4热豆]")
    private SynthesisTypeEnum type;

    @ApiModelProperty(value = "关联id")
    private Long thirdId;

    @ApiModelProperty(value = "所需数量")
    private BigDecimal num;

}
